<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			div{
				width: 200px;
				height: 200px;
				border: 1px solid red;
				background: #00FFFF;
				margin: 300px auto;
				transition: transform 2s linear;
			}
			div:hover{
				transform: scale(1.5) rotate(45deg);
				/*transform: rotate(45deg);*/
				background: red;
			}
		</style>
	</head>
	<body>
		<div></div>
	</body>
</html>
